package backpage.mapper;

import backpage.entity.po.OvertimeApply;
import backpage.entity.vo.OvertimeApplyVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 加班信息接口
 * </p>
 *
 * @author 刘仁杰
 * @since 2025-04-19
 */
public interface OvertimeApplyMapper extends BaseMapper<OvertimeApply> {
   List<OvertimeApplyVo> getListByEmployIdAndParam(
            @Param("employId") Integer employId,
            @Param("startTime") Date startTime,
            @Param("endTime") Date endTime,
            @Param("state") Integer state,
            @Param("type") Integer type,
            @Param("approveId") Integer approveId
    );
}
